<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link href="../css/mui.min.css" rel="stylesheet" />
		<style>
			.video-wrap {
				position: relative;
				padding-top: 65%;
			}
			.video-content {
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				border-bottom: 1px solid #2AC845;
			}
		</style>
	</head>
	<body>
		<div class="mui-content">
			<div class="video-wrap">
				<div class="video-content">
					
					<video width="100%" height="100%" controls="controls" preload>
						<source src="http://cdn.suipianny.com/Public/debris/video/animate.mp4" type="video/mp4"></source>
						<source src="myvideo.ogv" type="video/ogg"></source>
						<source src="myvideo.webm" type="video/webm"></source>
						<object width="" height="" type="application/x-shockwave-flash" data="myvideo.swf">
							<param name="movie" value="myvideo.swf" />
							<param name="flashvars" value="autostart=true&amp;file=myvideo.swf" />
						</object>
						当前浏览器不支持 video直接播放，点击这里下载视频： <a href="myvideo.webm">下载视频</a>
					</video>
				</div>
			</div>
		</div>
		<script src="../js/mui.min.js"></script>

		<script>
			// http://cdn.suipianny.com/Public/debris/video/animate.mp4
			
			mui.init();
			mui.plusReady(function () {
				var Intent = plus.android.importClass("android.content.Intent");
		    var Uri = plus.android.importClass("android.net.Uri");
		    var main = plus.android.runtimeMainActivity();
		    var intent=new Intent(Intent.ACTION_VIEW);
		    var uri=Uri.parse("http://cdn.suipianny.com/Public/debris/video/animate.mp4");
		    intent.setDataAndType(uri,"video/*");
		    main.startActivity(intent);
				var aa = plus.webview.defaultHardwareAccelerated();
				console.log(aa)
			})
		</script>
	</body>
</html>
